dsh-pwsh7:将 DSH 的 pwsh 工具锁定到 PowerShell 7
dsh-pwsh7 是 DSH 的工作流插件,用于在启动时强制将 pwsh 工具锁定到 PowerShell 7,拒绝回退到 Windows PowerShell 5.1。它通过多级路径解析、版本验证和 PATH 插入,确保所有 shell 命令都在统一的 PowerShell 7 环境下运行。插件仅在 Windows 上可用,配置项包括显式路径和严格模式开关。
閱讀全文dsh-win-pwsh7:讓 Windows 上的 DSH `pwsh` 工具跑真正的 PowerShell 7
在 Windows 上使用 DSH 時,pwsh 工具可能回落到 PowerShell 5.1,導致 && 與 || 解析失敗。社區插件 dsh-win-pwsh7(xinspark)純 JS、零依賴,提供 pwsh7_status 與 pwsh7_install:檢測與校驗路徑、僅從 Microsoft Store 安裝自更新包,安裝前檢查按流量計費的連接,並給出可粘貼的 cordis 補丁與模型提示段。本文介紹安裝命令、配置項 overridePath/installIfMissing、後臺作業進度查看方式及適用注意。
閱讀全文dsh-plugin-pwsh7:在 Windows 上將 DSH 的 pwsh 工具路由到 PowerShell 7
dsh-plugin-pwsh7 是 drliuhuan 維護的 Windows 客戶端 bundle,在保留 dsh-pwsh-sandbox 沙箱行爲的前提下,將模型面對的 pwsh 工具解析到 PowerShell 7。插件提供 shell_router 診斷與路由、Web 設置頁與安裝對話框(安裝僅由用戶觸發),以及可選的 PowerShell 7 方言提示與 Composer 芯片。安裝命令爲 plugin_manager action=install_bundle target=dsh-plugin-pwsh7@0.3.3。適用於在 DSH Web/desktop profile 下需要穩定 PowerShell 7 與可觀測路由的 Windows 開發者。
閱讀全文dsh-coding-preset:DSH coding 模式在 Windows 上使用持久 pwsh 的預設
dsh-coding-preset 是一個已棄用(DEPRECATED)的 Windows 適配 DSH coding 模式預設,旨在將默認 bash 替換爲持久 PowerShell 7(pwsh)會話。該預設保留了官方 minimal 模式的核心邊界,僅暴露 pwsh 和 str_replace_editor 兩個工具,並通過 node-pty/ConPTY 實現狀態保持。在 danger-full-access 模式下,變量、函數和目錄可在調用間保留;而在 read-only 或 workspace-write 模式下,則執行一次性命令且狀態不保留。它還支持單次沙箱提權,允許在攜帶合理理
閱讀全文